package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;

public interface SetmealService {
    void add(Setmeal setmeal, Integer[] checkgroupIds);

    PageResult findPage(QueryPageBean queryPageBean);

    Setmeal findSetmealById(Integer id);

    List<Integer> findCheckgroupBySetmealId(Integer id);

    void edit(Setmeal setmeal, Integer[] checkgroupIds);

    void deleteSetmealById(Integer id);

    List<Setmeal> findAllSetmeal();

    Setmeal findById(Integer id);
}
